package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 客户开票信息
 * 
 * @author Administrator
 *
 */
@Entity
@Table(name = "sl_crm_customerPayInfo")
public class CustomerPayInfo extends Root {
	
	@ManyToOne
	@JoinColumn(nullable=false)
	private Customer customer;
	//（1为默认）
	private int isDefaultHost;//主机默认信息
	
	private int isDefaultPart;//备件默认
	
	////////////////////////////// 开票信息
	// 纳税人识别号
	@Column(name = "sIdentification")
	private String identification;
	// 联系电话
	@Column(name = "sInvoicePhone")
	private String invoicePhone;
	// 邮编
	@Column(name = "sZipCode")
	private String zipCode;
	// 开票地址
	@Column(name = "sInvoiceAddress")
	private String invoiceAddress;
	// 开票银行
	@Column(name = "sInvoiceBank")
	private String invoiceBank;
	// 银行账号
	@Column(name = "sBankAccount")
	private String bankAccount;
	// 税号
	@Column(name = "staxNumber")
	private String taxNumber;
	// 开票备注
	@Column(name = "sInvoiceMemo")
	private String invoiceMemo;
	// 开票传真
	@Column(name = "sInvoiceFax")
	private String invoiceFax;
	
	public String getInvoiceFax() {
		return invoiceFax;
	}
	public void setInvoiceFax(String invoiceFax) {
		this.invoiceFax = invoiceFax;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	public int getIsDefaultHost() {
		return isDefaultHost;
	}
	public void setIsDefaultHost(int isDefaultHost) {
		this.isDefaultHost = isDefaultHost;
	}
	public int getIsDefaultPart() {
		return isDefaultPart;
	}
	public void setIsDefaultPart(int isDefaultPart) {
		this.isDefaultPart = isDefaultPart;
	}
	public String getIdentification() {
		return identification;
	}
	public void setIdentification(String identification) {
		this.identification = identification;
	}
	public String getInvoicePhone() {
		return invoicePhone;
	}
	public void setInvoicePhone(String invoicePhone) {
		this.invoicePhone = invoicePhone;
	}
	public String getZipCode() {
		return zipCode;
	}
	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}
	public String getInvoiceAddress() {
		return invoiceAddress;
	}
	public void setInvoiceAddress(String invoiceAddress) {
		this.invoiceAddress = invoiceAddress;
	}
	public String getInvoiceBank() {
		return invoiceBank;
	}
	public void setInvoiceBank(String invoiceBank) {
		this.invoiceBank = invoiceBank;
	}
	public String getBankAccount() {
		return bankAccount;
	}
	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}
	public String getTaxNumber() {
		return taxNumber;
	}
	public void setTaxNumber(String taxNumber) {
		this.taxNumber = taxNumber;
	}
	public String getInvoiceMemo() {
		return invoiceMemo;
	}
	public void setInvoiceMemo(String invoiceMemo) {
		this.invoiceMemo = invoiceMemo;
	}
	
	
	
	
}
